<?php
/**
 * Created by PhpStorm.
 * User: tangyunfei
 * Date: 2018/3/29
 * Time: 10:10
 */
class ToolsModel extends  Model{
    /**
     * 发送短信
     * @param unknown $phone 手机号码
     * @param unknown $info 短信内容
     * @return string 0成功 其他失败
     */
    function sendmsg($phone,$info){
        vendor("Msg.send");
        $msg = new send("yeczx","FD0D073D823625071C4216F7EAC1", "恩久网络");
        $arr = $msg->sendmsg($phone, $info);

        return $arr;

    }
}